Dimensional formula tricks